#include <iostream>
#include <fstream>
#include <string>

int main()
{
    std::string s1 = "./HHH";
    std::ifstream file1("./HHH");
    if(file1.is_open())
    {
        std::cout << "file1 success" << std::endl;
    }
    else
    {
        std::cout << "file1 error" << std::endl;
    }
    std::ifstream file2("./HHH", std::ios::binary);
    if(file2.is_open())
    {
        std::cout << "file2 success" << std::endl;
    }
    else
    {
        std::cout << "file2 error" << std::endl;
    }
    return 0;
}